//
//  AddressBook.h
//  OC05_NSArray_NSDictionary_NSSet
//
//  Created by dllo on 16/5/26.
//  Copyright © 2016年 Rain. All rights reserved.
//

#import <Foundation/Foundation.h>
@class Contact;

@interface AddressBook : NSObject

@property (nonatomic,retain) NSMutableDictionary *dictGroup;


-(instancetype)initWithDictGroup:(NSMutableDictionary *)dictGroup;

+(instancetype)AddressBookWithDictGroup:(NSMutableDictionary *)dictGroup;

//重写dictGroup的setter方法
//-(void)setDictGroup:(NSMutableDictionary *)dictGroup;

//添加联系人对象
-(void)addContactWithCont:(Contact *)cont;





-(void)showContactWithKey:(NSString *)key;
-(void)showContactWithCont:(Contact *)cont;
-(void)showContactWithAll;

//创建一个键值对和其中的数组
//-(void)creatEntry;
@end
